Use GetNGroupSortFields to retrieve the number of group sort fields in the specified report. This method is typically used as one of a series: GetNGroupSortFields (called once); CRPEJob::GetNthSortField, (called as many times as needed to identify the correct group sort field); and CRPEJob::SetNthSortField, (called once when the correct group sort field is identified). The series can be used to identify and then change an existing group sort field and/or sort order at print time in response to a user selection.
GetNGroupSortFields () RETURNING SMALLINT
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |